package com.airforce.utils;

/**
 * Created by Gon on 2017/2/25.
 */
public class RandomUtil {

    public static int getRandNum(int min, int max) {
        int randNum = min + (int)(Math.random() * ((max - min) + 1));
        return randNum;
    }

    public static String rand6(){
        return getRandNum(1,999999) + "";
    }
}
